home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / zsh-3.0-p / zsh-3 / zsh-3.0-pre3 / Etc / Makefile.in < prev    next >
Makefile  |  1996-05-06  |  2KB  |  80 lines

  1. #
  2. # $Id: Makefile.in,v 2.0 1996/05/02 22:57:04 hzoli Exp $
  3. #
  4. # Makefile for Etc subdirectory
  5. #
  6. # Copyright (c) 1995 Richard Coleman
  7. # All rights reserved.
  8. #
  9. # Permission is hereby granted, without written agreement and without
  10. # license or royalty fees, to use, copy, modify, and distribute this
  11. # software and its documentation for any purpose, provided that the
  12. # above copyright notice and the following two paragraphs appear in
  13. # all copies of this software.
  14. #
  15. # In no event shall Richard Coleman or the Zsh Development Group be liable
  16. # to any party for direct, indirect, special, incidental, or consequential
  17. # damages arising out of the use of this software and its documentation,
  18. # even if Richard Coleman and the Zsh Development Group have been advised of
  19. # the possibility of such damage.
  20. #
  21. # Richard Coleman and the Zsh Development Group specifically disclaim any
  22. # warranties, including, but not limited to, the implied warranties of
  23. # merchantability and fitness for a particular purpose.  The software
  24. # provided hereunder is on an "as is" basis, and Richard Coleman and the
  25. # Zsh Development Group have no obligation to provide maintenance,
  26. # support, updates, enhancements, or modifications.
  27. #
  28.  
  29. SHELL = /bin/sh
  30.  
  31. srcdir = @srcdir@
  32. VPATH  = @srcdir@
  33.  
  34. .SUFFIXES:
  35.  
  36. # all files in this directory included in the distribution
  37. DIST = Makefile.in BUGS CONTRIBUTORS FAQ FEATURES \
  38. MACHINES NEWS
  39.  
  40. # ========== DEPENDENCIES FOR BUILDING ==========
  41.  
  42. all:
  43.  
  44. # ========== DEPENDENCIES FOR CLEANUP ==========
  45.  
  46. mostlyclean:
  47.     rm -f *~
  48.  
  49. clean: mostlyclean
  50.  
  51. distclean: clean
  52.     rm -f Makefile
  53.  
  54. realclean: distclean
  55.  
  56. superclean: realclean
  57.  
  58. # ========== DEPENDENCIES FOR MAINTENANCE ==========
  59.  
  60. subdir = Etc
  61.  
  62. Makefile: Makefile.in ../config.status
  63.     cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
  64.  
  65. distdir = ../`cat ../distname`/$(subdir)
  66. dist: $(DIST)
  67.     @echo "Copying distribution files in $(subdir)"
  68.     for file in $(DIST); do    \
  69.       cp -p $$file $(distdir); \
  70.     done
  71.  
  72. rcsdistdir = ../`cat ../rcsdistname`/$(subdir)
  73. dist-rcs: $(DIST)
  74.     @echo "Copying distribution files in $(subdir) (RCS source)"
  75.     for file in $(DIST); do                 \
  76.       ci $$file;                            \
  77.       cp -p RCS/$$file,v $(rcsdistdir)/RCS; \
  78.       co -l $$file;                         \
  79.     done
  80.